From: YAMAMOTO Mitsuharu Date: Thu, 14 Jun 2007 08:39:07 +0000 (+0000) Subject: (USE_MAC_TOOLBAR): New define. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18386 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3b61c350fd6505ca385f3124a8113ee43c990409;p=emacs.git (USE_MAC_TOOLBAR): New define. --- diff --git a/src/macgui.h b/src/macgui.h index 990765593e1..fb6f858c547 100644 --- a/src/macgui.h +++ b/src/macgui.h @@ -117,6 +117,13 @@ typedef unsigned long Time; #endif #endif +/* Whether to use HIToolbar. */ +#ifndef USE_MAC_TOOLBAR +#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 && MAC_OS_X_VERSION_MIN_REQUIRED != 1020 +#define USE_MAC_TOOLBAR 1 +#endif +#endif + typedef WindowRef Window; typedef GWorldPtr Pixmap;